﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WCS.Entities
{
    /// <summary>
    /// 系统设置参数
    /// </summary>
    public class SystemParameter
    {


        public string IP { get; set; }

        /// <summary>
        /// Socket服务端口号
        /// </summary>
        public int Port { get; set; }

        /// <summary>
        /// 最大电量
        /// </summary>
        public int MaxPower { get; set; }

        /// <summary>
        /// 最小电量
        /// </summary>
        public int MinPower { get; set; }

        /// <summary>
        /// 充电至该电量去Park点
        /// </summary>
        public int MiddlePower { get; set; }



        /// <summary>
        /// 可用状态
        /// </summary>
        public List<string> AvailableStatus { get; set; }

        /// <summary>
        /// 允许多频次充电
        /// </summary>
        public bool IsRegionCheck { get; set; }

        /// <summary>
        /// 区域校验
        /// </summary>
        public bool EnableMultiCharge { get; set; }

        /// <summary>
        ///Park点 等待时间，超时后去充电
        /// </summary>
        public int WaitTime { get; set; }

        /// <summary>
        /// 是否管控Park
        /// </summary>
        public bool IsParkControl { get; set; }

        /// <summary>
        /// 位置校验，机器人是否到位
        /// </summary>
        public bool IsPositionCheck { get; set; }

        /// <summary>
        /// 单接单送执行完成后是否在当前位置执行配对的接料和送料
        /// </summary>
        public bool IsQuickMatch { get; set; }

        /// <summary>
        /// Callbutton初始化
        /// </summary>
        public bool IsCallbuttonInitial { get; set; }

        /// <summary>
        /// 机器人到对接口允许偏差值
        /// </summary>
        public int AllowableDeviation { get; set; }



    }
}
